package org.wesc.boot.secure.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author Wesley
 */
@Data
@Component
@PropertySource(value = {"classpath:shiro.properties"})
public class ShiroProperties {

    @Value("${anon_url}")
    private String anonUrl;

    @Value("${jwtTimeOut:86400L}")
    private Long jwtTimeOut;

}
